<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<pre>
	<code id="code">
    from pyside import qtgui, qtcore
    import maya.cmds as cmds
    "test as "
    'test import '
    'test class'
    """ importas class def"""
    ''' importas class def'''
    class test():
        def __init__(self):
            super().__init__()
        def aaa():
            for i in range(10):
                while(True):
                    if i not in range(2):
                        break
                        continue
                        if i and b or c:
                        return False 
                        None 
	</code>
</pre>

</body>
</html>
<!--加载插件-->
<script type="text/javascript" src="js/require.js"></script>

<!--加载语言格式数据-->
<script src="js/config/python.js"></script>

<script type="text/javascript">
    // 获取代码文本标签
    var div=document.getElementById('code');
    
    // 配置模块路径
    require.config({
        paths : {
            "codestyle" : "js/codestyle"
        }
    })
    
    // 调用模块功能，根据数据实现语法高亮
    require(["codestyle"], function(codestyle){
                codestyle.main(div, keywordsData, strFormatData);
                }
            );
</script>







